function reduceFun(arr) {
    let res = arr.reduce((ob, item) => {
        ob + item;
    });
    return res;
}

export default reduceFun;
